﻿namespace Model
{
    public class Supplier : BaseModel
    {
        public const string CONST_SUPPLIER_ID = "SupplierId";
        public const string CONST_SUPPLIER_NAME = "SupplierName";
        public virtual int SupplierId { get; set; }
        public virtual string SupplierName { get; set; }
        public virtual string Address { get; set; }
        public virtual string Phone { get; set; }
        public virtual string Fax { get; set; }
        public virtual string Email { get; set; }
        public virtual int CategoryId
        {
            get;
            set;
        }
        public virtual float Vat
        {
            get;
            set;
        }

        public override int Key
        {
            get { return this.SupplierId; }
        }

    }
}